package mappers;

import java.util.List;

import models.Point;
import models.Updates;

import org.apache.ibatis.annotations.Param;

public interface UpdatesMapper {
    public List<Updates> getUpdatesByUser(@Param("username")String username);
    public List<Updates> getUpdatesByUsername(@Param("username")String username);
    public List<Updates> getUpdatesByUserId(@Param("user_id")int user_id);
    public List<Updates> getNotifications(@Param("update")Updates update);
    public void sharePosition(@Param("update")Updates update);
    public void shareJourney(@Param("update")Updates update);
    public void updateVisited(@Param("share_id")int share_id);
	//public void updateVisited(int share_id);
	public void addfriend(@Param("update")Updates update);
}
